package com.report.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.report.dto.request.MemberRuleReq;
import com.report.dto.response.MemberRuleRes;
import com.report.entity.Rule;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author summer
 * @since 2024/06/26 23:21:57
 */
public interface IMemberRuleService extends IService<Rule> {

    /**
     * 查询列表
     * @param memberRuleReq
     * @return
     */
    Page<MemberRuleRes> lists(MemberRuleReq memberRuleReq);

    /**
     * 查询单个数据
     * @param id
     * @return
     */
    MemberRuleRes findById(Integer id);
}
